package com.example.hospitallogin.modules.login.service;

import com.example.hospitallogin.modules.login.dao.entity.DoctorEntity;
import com.example.hospitallogin.modules.login.dao.mapper.DoctorMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.entity.Example;

import java.util.List;

/**
 * @author qiancheng@cqxyy.net
 * @date 2022/9/19
 */
@Repository
public class DoctorService {
    @Autowired
    private DoctorMapper doctorMapper;

    public List<DoctorEntity> selectByExample(Example example){
        return doctorMapper.selectByExample(example);
    }
}
